home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
PCW_C.ARJ
/
BOXEXMPL.C
< prev
next >
Wrap
Text File
|
1990-01-30
|
593b
|
25 lines
#include "pcwproto.h"
#include "stdio.h"
void main(void) {
int tl, bl;
WNDPTR *wnd;
static char *msg[] = {
"Welcome to C",
"The Powerful Language",
"for",
"Major Applications Software",
NULL
};
/* Create a box with a advertisment for the C language */
get_cursor_size(&tl,&bl); set_cursor_size(0,0);
wnd = wpush(7,19,15,60);
qfill(7,19,15,60,LIGHTGRAY,BLUE,SPACES);
bordercolor(YELLOW,BLUE); qbox(7,19,15,60);
q_block_write(9,CENTER,LIGHTGRAY,BLUE,msg);
keywait(10); wpop(wnd); set_cursor_size(tl,bl);
}